package test.socket

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path

/**
 *
 * @author Eson Yu
 * @date 2021/1/7 9:37
 */
interface GitHubService {
    @GET("users/{user}/repos")
    fun listRepos(@Path("user") user:String): Call<List<RepoBean>>
}